package com.shiftl.data.aroma.dto;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import com.shiftl.data.aroma.model.Incense;

public class IncenseDTO implements Serializable, Incense {

	private static final long serialVersionUID = -5170144859260662008L;

	private String encodedKey;
	private Long id;
	private String name;
	private Type type;
	private String maker;
	private String origin;
	private String description;
	private Set<String> ingredients;

	public IncenseDTO() {
		ingredients = new HashSet<String>();
	}

	public IncenseDTO(final Incense inc) {
		encodedKey = inc.getEncodedKey();
		id = inc.getId();
		name = inc.getName();
		maker = inc.getMaker();
		origin = inc.getOrigin();
		description = inc.getDescription();

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#getId()
	 */
	public Long getId() {
		return id;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#setId(java.lang.Long)
	 */
	public void setId(final Long id) {
		this.id = id;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#getName()
	 */
	public String getName() {
		return name;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#setName(java.lang.String)
	 */
	public void setName(final String name) {
		this.name = name;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#getType()
	 */
	public Type getType() {
		return type;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.shiftl.data.aroma.entity.Incense#setType(com.shiftl.data.aroma.entity
	 * .IncenseEnt.Type)
	 */
	public void setType(final Type type) {
		this.type = type;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#getMaker()
	 */
	public String getMaker() {
		return maker;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#setMaker(java.lang.String)
	 */
	public void setMaker(final String maker) {
		this.maker = maker;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#getOrigin()
	 */
	public String getOrigin() {
		return origin;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#setOrigin(java.lang.String)
	 */
	public void setOrigin(final String origin) {
		this.origin = origin;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#getDescription()
	 */
	public String getDescription() {
		return description;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.shiftl.data.aroma.entity.Incense#setDescription(java.lang.String)
	 */
	public void setDescription(final String description) {
		this.description = description;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#getIngredients()
	 */
	public Set<String> getIngredients() {
		return ingredients;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#setIngredients(java.util.Set)
	 */
	public void setIngredients(final Set<String> ingredients) {
		this.ingredients = ingredients;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#setEncodedKey(java.lang.String)
	 */
	public void setEncodedKey(final String encodedKey) {
		this.encodedKey = encodedKey;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.shiftl.data.aroma.entity.Incense#getEncodedKey()
	 */
	public String getEncodedKey() {
		return encodedKey;
	}

}
